Managing segments in a job